using System;
using System.Collections.Generic;

namespace CloudApiServer
{
    /// <summary>
    /// 浙江省异地对账1812接口input
    /// </summary>
    public class InputTransBeginMedicine1812
    {
        /// <summary>
        /// 浙江省异地对账1812 input Data
        /// </summary>
        public DataTransBeginMedicine1802Request data { get; set; }
    }
    /// <summary>
    /// 浙江省异地对账1812 input Data
    /// </summary>
    public class DataTransBeginMedicine1802Request
    {
        /// <summary>
        /// 省内数据版本号 每天第一次调用的时候版本号传0，如果结果数据等于100条，需继续调用，第二次调用传入第一次返回数据中的最大数据版本号，循环调用，直到返回数据条数小于100为止
        /// </summary>
        public int loclDataVer{ get; set;}
        /// <summary>
        /// 定点医疗机构编号
        /// </summary>
        public string fixmedinsNo{ get; set;}
        /// <summary>
        /// 开始时间 
        /// </summary>
        public string begndate { get; set;}
        /// <summary>
        /// 结束时间
        /// </summary>
        public string enddate { get; set; }
    }
    /// <summary>
    /// 浙江省异地对账1505接口input
    /// </summary>
    public class InputTransBeginMedicine1505
    {
        /// <summary>
        /// 
        /// </summary>
        public List<DataTransBeginMedicine1505Request> data { get; set; }
    }
    /// <summary>
    /// 浙江省异地对账1505接口data
    /// </summary>
    public class DataTransBeginMedicine1505Request
    {

        /// <summary>
        /// 
        /// </summary>
        public string mdtrtareaAdmdvs { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string insuplcAdmdvs { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string fixmedinsNo { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string psnNo { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal medfeeSumamt { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public decimal optinsPaySumamt { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string mdtrtSetlTime { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string trnsType { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string mdtrtSeq { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string setlSn { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string insutype { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string clrType { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string setlOptins { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string stmtBegndate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string stmtEnddate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public double fundPaySumamt { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public double acctPay { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public double fixmedinsSetlCnt { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public double psnCashPay { get; set; }
    }


    /// <summary>
    /// 异地对账1812 Output
    /// </summary>
    public class OutputTransBeginMedicine1812
    {
        /// <summary>
        /// 异地对账1812 Output Data
        /// </summary>
        public List<DataTransBeginMedicine1812> data { get; set; }
    }
    /// <summary>
    /// 异地对账1812 Output Data
    /// </summary>
    public class DataTransBeginMedicine1812
    {
        /// <summary>
        /// 机构编码
        /// </summary>
        public string fixmedinsNo { get; set; }

        /// <summary>
        /// 参保地区划
        /// </summary>
        public string insuplcAdmdvs { get; set; }

        /// <summary>
        /// 省内异地数据版本号
        /// </summary>
        public int loclDataVer { get; set; }

        /// <summary>
        /// 就诊流水号
        /// </summary>
        public string mdtrtSeq { get; set; }

        /// <summary>
        /// 就诊时间
        /// </summary>
        public string mdtrtSetlTime { get; set; }

        /// <summary>
        /// 就医地医保区划
        /// </summary>
        public string mdtrtareaAdmdvs { get; set; }

        /// <summary>
        /// 医疗类别 
        /// </summary>
        public string medType { get; set; }

        /// <summary>
        /// 费用总额
        /// </summary>
        public decimal medfeeSumamt { get; set; }

        /// <summary>
        /// 经办机构支付总额
        /// </summary>
        public decimal optinsPaySumamt { get; set; }

        /// <summary>
        /// 个人现金支付
        /// </summary>
        public decimal psnCashpay { get; set; }

        /// <summary>
        /// 人员编号
        /// </summary>
        public string psnNo { get; set; }

        /// <summary>
        /// 接收方报文I
        /// </summary>
        public string recerMsgId { get; set; }

        /// <summary>
        /// 发送方报文ID
        /// </summary>
        public string senderMsgId { get; set; }

        /// <summary>
        /// 结算ID
        /// </summary>
        public string setlSn { get; set; }

        /// <summary>
        ///  交易类型
        /// </summary>
        public string trnsType { get; set; }
    }


    /// <summary>
    /// 异地对账1505 Output
    /// </summary>
    public class OutputTransBeginMedicine1505
    {
        /// <summary>
        /// 
        /// </summary>
        public List<DataTransBeginMedicine1505> data { get; set; }
    }
    /// <summary>
    /// 异地对账1505 Output Data
    /// </summary>
    public class DataTransBeginMedicine1505
    {
        /// <summary>
        /// 
        /// </summary>
        public string fixmedinsNo { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string insuplcAdmdvs { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string mdtrtSeq { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string mdtrtareaAdmdvs { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string prmmsg { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string psnNo { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string setlSn { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string succFlag { get; set; }
    }


}